export const defaultRouters = [
  {
    path: '/login',
    name: 'login',
    meta: {
      title: '登录',
    },
    component: () => import('@/views/login/index.vue'),
  },
  {
    path: '/404',
    name: '404',
    meta: {
      title: '404',
    },
    component: () => import('@/views/404.vue'),
  },
  {
    path: '',
    alias: '/',
    redirect: '/command',
  },
]

export const devRouters = [
  {
    name: 'layout',
    component: () => import('@/components/Layout'),
    children: [
      {
        path: '/selectApi',
        name: 'selectApi',
        meta: {
          title: '选择接口',
        },
        component: () => import('@/views/selectApi.vue'),
      },
    ],
  },
]
